package {	
	import asruby.Ruby;
	import asruby.yarv.YARVRunner;
	
	import flash.display.Sprite;
	
	public class asRuby extends Sprite
	{
		private static var VERSION:String = "0.0.1";
		
		public function asRuby()
		{
			var codeURL:String;
			var runtime:Ruby = Ruby.newInstance(this);
			var runner: YARVRunner = runtime.loadYarvOpCode(codeURL);
			if ( runner != null ) {
				runtime.runYarv(runner);
			}
		}
	}
}